#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint ivy_ezviz_plugin.podspec' to validate before publishing.
#
Pod::Spec.new do |s|
  # SDK名字
  s.name             = 'ivy_ezviz_plugin'
  s.version          = '0.0.1'
  s.summary          = 'A new Flutter plugin.'
  s.description      = <<-DESC
A new Flutter plugin.
                       DESC
  s.homepage         = 'http://example.com'
  s.license          = { :file => '../LICENSE' }
  s.author           = { 'Your Company' => 'email@example.com' }
  s.source           = { :path => '.' }
  s.source_files = 'Classes/**/*'
  s.dependency 'Flutter'

  #s.subspec 'EZUIKit' do |tc|
  #      tc.dependency 'EZUIKit', '~>2.0'
  # end

  # sdk
  # s.dependency 'EZUIKit' , '~> 2.0'
  # a库
  s.vendored_library = 'Classes/Framework/**/*.a'
  # s.vendored_libraries = []
  # 资源文件
  s.resource = 'Classes/Framework/**/*.metallib'
  # framework库
  # s.vendored_frameworks = 'Classes/**/*.framework'

  # 引用libxml2.lib和libz.lib    去掉头尾的lib
  # s.library   = "z"
  s.libraries = "z","bz2","iconv","stdc++","stdc++.6.0.9"
  s.frameworks = "AVFoundation","SystemConfiguration","MobileCoreServices","VideoToolbox","AudioToolbox","GLKit","CoreMedia","OpenAL"

  s.platform = :ios, '9.0'

  # Flutter.framework does not contain a i386 slice.
  s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
  s.swift_version = '5.0'
end
